package com.chalk.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.chalk.dao.SysShopDao;
import com.chalk.dao.SysUserDao;
import com.chalk.model.SysUser;
import com.chalk.service.SysShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 通过用户id查询门店实现类
 *
 *
 * @since 2020/5/27
 */
@Service
public class SysShopServiceImpl extends ServiceImpl<SysShopDao, SysUser> implements SysShopService {

    @Autowired
    private SysShopDao sysShopDao;


    @Override
    public String getShopNameById(String userId) {
        /*return itemItemRelDao.deleteBatchByPrimaryKey(ids);*/
        return sysShopDao.getShopNameById(userId);
    }







}
